package com.tem.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tem.common.jdbc.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 腾木科技 Created by 2022/4/15 17:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_config")
@ApiModel(value="系统配置对象")
@EqualsAndHashCode(callSuper = true)
public class SysConfigEntity extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.AUTO)// IdType.INPUT(2) 用户输入ID，该类型可以通过自己注册自动填充插件进行填充
    private Long id;

    @ApiModelProperty(value = "企业分公司")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "配置key")
    private String cfKey;

    @ApiModelProperty(value = "配置value")
    private String cfValue;

}
